package nl.hu.verbrandendephoenix.shared;

import java.io.Serializable;
import java.util.Date;

public class Bid implements Serializable {
	
	private int bidID;
	private int userID;
	private int auctionID;
	private int price;
	private Date date;
	
	public Bid() {}
	
	public Bid(int uID, int aID, int prc, Date dat) {
		setUserID(uID);
		setAuctionID(aID);
		setPrice(prc);
		setDate(dat);
	}

	public int getBidID() {
		return bidID;
	}

	public void setBidID(int bidID) {
		this.bidID = bidID;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public int getAuctionID() {
		return auctionID;
	}

	public void setAuctionID(int auctionID) {
		this.auctionID = auctionID;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
}
